home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ADA Programming Guide
/
ADA Programming Guide.iso
/
ada_gnu
/
readme.dos
< prev
Wrap
Text File
|
1996-01-30
|
2KB
|
67 lines
This is the README file from the DOS binary distribution of GNAT 2.00.
Now that you've unzipped the distribution files, you need to set a few
environment variables and reboot before compiling.
Merge these into your AUTOEXEC.BAT
----------------------------------
SET TZ=EST5EDT
set PATH=c:\djgpp\bin
set TMPDIR=c:/djgpp/tmp
set GO32TMP=c:/djgpp/tmp
set GO32=topline c:/djgpp/drivers/vga.grd gw 640 gh 480
set DJGPP=c:/djgpp/djgpp.env
set ADA_INCLUDE_PATH=c:/djgpp/adainc
set ADA_OBJECTS_PATH=c:/djgpp/lib/adalib
----------------------------------------
If you don't have a math coprocessor you should substitute the above "set GO32"
line with the following:
set GO32=topline emu c:/djgpp/bin/emu387 c:/djgpp/drivers/vga.grd gw 640 gh 480
GNAT needs lots of "real" DOS memory in order to run, i.e. the memory below
640K. I have 617K available and everything runs fine. To make things run
faster, I also recommend using "SMARTDRV.SYS" or an equivalent.
Important note: Some people have reported that their machine "locks up" if
they don't have an expanded memory manager loaded, i.e. EMM386.SYS.
Here is a sample CONFIG.SYS:
shell=c:\command.com /p /e:1024
DEVICE=C:\DOS\EMM386.SYS
DEVICE=C:\DOS\HIMEM.SYS
DEVICE=C:\DOS\SMARTDRV.SYS 1024
DOS=HIGH
FILES=30
buffers=30
Features and gnatinfo.txt talk about GNU NYU Ada Translator (GNAT).
As of this release you don't have to run coff2exe after running gnatbl, it
is done for you automatically, and removes the unneeded coff file. If you
want it back for debugging, etc. do: exe2coff <myprog>.exe.
REPORTING BUGS:
Send bug reports to gnat-report@cs.nyu.edu.
Send djgpp bug reports to djgpp@sun.soe.clarkson.edu.
EXAMPLES
The examples directory contains simple examples. To get started, do:
"cd examples" and then "make".
USE
Using GNAT is documented in gnatinfo.txt.
The -k8 switch is the default with the DOS compiler, you need not specifically
use it on the command line. This default krunches file names to 8 characters.
Read gnatinfo.txt to learn how to compile and link.
Read features to find out what's implemented and what's not.
If you have any problems, please send email to "gnat-report@cs.nyu.edu"